package com.yami.shop.distribution.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 我的用户信息
 * @author LanHai
 */
@ApiModel(value = "分销员推广用户信息")
@Data
public class DistributionUserInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "分销员id")
    private Long distributionUserId;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "头像")
    private String pic;

    @ApiModelProperty(value = "贡献收益")
    private Double money;

    @ApiModelProperty(value = "成交订单数")
    private Integer orderNumber;

    @ApiModelProperty(value = "用户状态 状态(-1永久封禁 0待审核状态 1正常 2暂时封禁 3 审核未通过)")
    private Integer state;

    @ApiModelProperty(value = "加入时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date bindTime;
}
